<!-- Analysis.html -->
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
		<title>分析</title>
		<style type="text/css">
			html,body{
				margin: 0;
				width: 100%;
				/*height: 100%;*/
			}
			.fullScreen-iframe{
				width: 100vw;
				height: 100vw;
				border: none;
			}
		</style>
	</head>
	<body>
	<div style="text-align: center;margin-top: 40px"><img style="width: 200px" src="../../image/icon_img.png"/>
		<span style="display: block">暂不支持浏览，请到PC端查看</span></div>

<!--		<iframe id="analysis_iframe" class="fullScreen-iframe" src="">-->
<!--			<p>您的浏览器不支持 iframe 标签。</p>-->
<!--		</iframe>-->
	</body>
	<script type="text/javascript" src="../../script/jquery.min.js"></script>
	<script type="text/javascript" src="../../script/api.js"></script>
	<script type="text/javascript">
		apiready = function(){
			// setRefreshHeader();
			// setupIframe();
			// setupIframeHeight();
		}
		function setupIframeHeight(){
			var iframeH = 35.4 * getPXWithRem();
			$('#analysis_iframe').css('height', iframeH + 'px');
		}
		function setupIframe(){
			$('#analysis_iframe').attr('src', api.pageParam.url);
			api.refreshHeaderLoadDone();
		}
		//下拉刷新
		function setRefreshHeader() {
			api.setRefreshHeaderInfo({
				visible : true,
				bgColor : '#ccc',
				textColor : '#fff',
				textDown : '下拉刷新...',
				textUp : '松开刷新...',
				showTime : true
			}, function(ret, err) {
				setupIframe();
			});
		}
		function getPXWithRem() {
	        var screenWidth = window.screen.width;
	        var screenHeight = window.screen.height;
	        var min = (screenWidth<screenHeight) ? screenWidth : screenHeight;
	        if(min>750){
				min = 750;
	        }
	        return 100 * min / 720;
		}
	</script>
</html>